//
//  button.m
//  register
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "button.h"

@implementation button

+(instancetype)buttonWithType:(UIButtonType)buttonType withFrame:(CGRect)frame{
    button *butt1 =[button buttonWithType:UIButtonTypeSystem];
  
    butt1.frame = frame;
    [butt1 setTitle:@"注册" forState:UIControlStateNormal];
    butt1.font = [UIFont fontWithName:@"Helvetica-Bold"size:22];
    [butt1 setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    
    
    return butt1;

}


@end
